package cn.bandeqing.productInventoryRecord.entity;

import com.mybatisflex.annotation.EnumValue;
import io.github.linpeilie.annotations.AutoEnumMapper;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@AutoEnumMapper("value")
public enum ChangeType {

    //    register(0, "注册"),
//    ok(1, "上架"),
//    cancel(2, "下架"),
    product_init(0, "产品初始化入库"),
    user_operation(1, "产品列表&库存列表_用户操作出入库"),
    order_save(2, "订单新增"),
    order_remove(3, "订单删除增值服务"),
    ;

    @EnumValue
    private final Integer value;

    private final String label;


}